package homework.demo3;

import org.springframework.stereotype.Component;

@Component("winter1")
public class Sweater implements Clothes{
    public void wear(){
        System.out.println("穿了大衣");
    }
}
